package com.ruoyi.education.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 教学跟踪对象 t_student_track
 * 
 * @author ruoyi
 * @date 2022-12-26
 */
public class StudentTrack extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 班级名 */
    @Excel(name = "班级名")
    private String className;

    /** 班级编号 */
    @Excel(name = "班级编号")
    private Long classId;

    /** 学生编号 */
    @Excel(name = "学生编号")
    private Long stuSn;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String stuName;

    /** 问题类型id */
    @Excel(name = "问题类型id")
    private Long problemTypeId;

    /** 扣除分数 */
    @Excel(name = "扣除分数")
    private Long deductMarks;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 跟踪次数 */
    @Excel(name = "跟踪次数")
    private Long trackCount;

    /** 老师id */
    @Excel(name = "老师id")
    private Long teacherId;

    /** 老师姓名 */
    @Excel(name = "老师姓名")
    private String teacherName;

    /** 备注 */
    @Excel(name = "备注")
    private String comment;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }
    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }
    public void setStuSn(Long stuSn) 
    {
        this.stuSn = stuSn;
    }

    public Long getStuSn() 
    {
        return stuSn;
    }
    public void setStuName(String stuName) 
    {
        this.stuName = stuName;
    }

    public String getStuName() 
    {
        return stuName;
    }
    public void setProblemTypeId(Long problemTypeId) 
    {
        this.problemTypeId = problemTypeId;
    }

    public Long getProblemTypeId() 
    {
        return problemTypeId;
    }
    public void setDeductMarks(Long deductMarks) 
    {
        this.deductMarks = deductMarks;
    }

    public Long getDeductMarks() 
    {
        return deductMarks;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setTrackCount(Long trackCount) 
    {
        this.trackCount = trackCount;
    }

    public Long getTrackCount() 
    {
        return trackCount;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("className", getClassName())
            .append("classId", getClassId())
            .append("stuSn", getStuSn())
            .append("stuName", getStuName())
            .append("problemTypeId", getProblemTypeId())
            .append("deductMarks", getDeductMarks())
            .append("time", getTime())
            .append("trackCount", getTrackCount())
            .append("teacherId", getTeacherId())
            .append("teacherName", getTeacherName())
            .append("comment", getComment())
            .toString();
    }
}
